<%@ Page Language="C#" MasterPageFile="~/PublicEnquiries.Master" AutoEventWireup="true"
    Codebehind="NationalSearch.aspx.cs" Inherits="Tribal.EYO.PublicEnquiry.NationalSearch"
 %>

<%@ MasterType VirtualPath="~/PublicEnquiries.master" %>
<asp:Content ID="SearchPageToolbar" ContentPlaceHolderID="toolbarContentPlaceHolder"
    runat="server">
    <div id="searchpageToolbarDiv" runat="server" class="toolbar_container">
    </div>
    <div id="ManageBasketLink" class="manage_basket_container">
        <a id="A1" class="BasketScriptWarn" runat="server">
            <%= this.scriptWarnText%>
        </a>
    </div>
    <div id="searchFeedbackForm" class="feedback_form_link" runat="server">
    </div>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div runat="server" id="SearchContent">
        <asp:Label ID="info_messages" CssClass="info_messages" runat="server"></asp:Label>
        <asp:Label ID="error_messages" CssClass="error_messages" runat="server"></asp:Label>
        <asp:Wizard ID="Wizard1" runat="server" DisplaySideBar="false" NavigationButtonStyle-CssClass="search_wizard_buttons"
            DisplayCancelButton="true" OnCancelButtonClick="Wizard1_CancelButtonClick" OnFinishButtonClick="Wizard1_FinishButtonClick">
            <WizardSteps>
                <asp:WizardStep ID="WizardStepInitial" Title="" runat="server">
                </asp:WizardStep>
            </WizardSteps>
        </asp:Wizard>
    </div>
    <div runat="server" id="RawXmlResultsContent" visible="false">
        <asp:Label ID="raw_xml_results" runat="server"></asp:Label>
    </div>
    <div runat="server" id="ResultsContent" visible="false">
        <div class="your_results_container">
            <h1 id="yourResultsHeader" class="your_results_header" runat="server">
            </h1>
        </div>
        <div class="top_paging_container" runat="server" id="topPagingContainer">
            <div id="DivForTopPagingControls" class="paging_container" runat="server">
            </div>
        </div>
        <div id="divForResultsGrid" class="grid_container" runat="server">
            <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True"
                AutoGenerateColumns="False" CssClass="results_grid">
                <Columns>
                </Columns>
            </asp:GridView>
        </div>
        <div class="bottom_paging_container" runat="server" id="bottomPagingContainer">
            <div id="DivForBottomPagingControls" runat="server" class="paging_container">
            </div>
        </div>
         <div id="resultsButtonDiv" runat="server">
            <asp:Button ID="NewSearchButton" OnClick="DoNewSearch" Text="New Search" CssClass="new_search_button" runat="server"/>
        </div>
    </div>
    
    <div runat="server" id="RawXmlProviderContent" visible="false">
        <asp:Label ID="raw_xml_providercontent" runat="server"></asp:Label>
    </div>
    <div runat="server" id="ProviderContent" visible="false">
        <h1 id="providerInformationHeader" class="provider_information_header" runat="server" >Provider Information:</h1>
        
        <div runat="server" id="printLinkDiv" class="provider_details_print_link"></div>
        
        <div>
            <input id="hiddenProviderID" type="hidden"  runat="server"/>
        </div>
        
        <div id="provider_name" runat="server"></div>
        
        <table class="provider_info_table">
            <tr>
                <td id="column1" class="column1" runat="server"></td>
                <td id="column2" class="column2" runat="server"></td>
                <td id="column3" class="column3" runat="server"></td>
            </tr>
        </table>
        
        <div id="providerFooterDiv" runat="server" class="provider_footer"></div>
        
        <div id="backToResultsDiv" class="back_to_results">Please use your browsers back button to return to your results list.</div>
        <div id="newSearchContainer"><asp:Button OnClick="DoNewSearch" Text="New Search" runat="server" CssClass="new_search_button_provider" ID="ProviderNewSearchButton"/></div>
        
        <script type="text/javascript">
        /*<![CDATA[*/
        if (document.getElementById)
        {
            document.getElementById('backToResultsDiv').innerHTML 
                = '<ul><li><input type="button" value="<%=this.backToResultsText %>" onkeypress="javascript:history.back(); return false;" onclick="javascript:history.back(); return false;" /></li><li>' 
                    + document.getElementById('newSearchContainer').innerHTML + '</li></ul>';
                    document.getElementById('newSearchContainer').innerHTML = '';
            document.getElementById('newSearchContainer').style.display = 'none';
        }
        /*]]>*/
        </script>
    </div>
</asp:Content>
